.class Lrexsee/core/application/RexseeIntent$3;
.super Landroid/content/BroadcastReceiver;
.source "RexseeIntent.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/core/application/RexseeIntent;->registerBroadcastReceiver(Ljava/lang/String;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/core/application/RexseeIntent;

.field private final synthetic val$action:Ljava/lang/String;


# direct methods
.method constructor <init>(Lrexsee/core/application/RexseeIntent;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/core/application/RexseeIntent$3;->this$0:Lrexsee/core/application/RexseeIntent;

    iput-object p2, p0, Lrexsee/core/application/RexseeIntent$3;->val$action:Ljava/lang/String;

    .line 535
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 7
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "intent"    # Landroid/content/Intent;

    .prologue
    const/4 v6, 0x1

    .line 539
    sget-object v1, Landroid/os/Build$VERSION;->SDK:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    const/4 v2, 0x4

    if-lt v1, v2, :cond_0

    .line 540
    invoke-virtual {p2, v6}, Landroid/content/Intent;->toUri(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v0

    .line 544
    .local v0, "uri":Ljava/lang/String;
    :goto_0
    iget-object v1, p0, Lrexsee/core/application/RexseeIntent$3;->this$0:Lrexsee/core/application/RexseeIntent;

    invoke-static {v1, p2}, Lrexsee/core/application/RexseeIntent;->access$1(Lrexsee/core/application/RexseeIntent;Landroid/content/Intent;)V

    .line 545
    iget-object v1, p0, Lrexsee/core/application/RexseeIntent$3;->this$0:Lrexsee/core/application/RexseeIntent;

    # getter for: Lrexsee/core/application/RexseeIntent;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v1}, Lrexsee/core/application/RexseeIntent;->access$2(Lrexsee/core/application/RexseeIntent;)Lrexsee/core/browser/Browser;

    move-result-object v1

    iget-object v1, v1, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v2, "onIntentBroadcastReceived"

    const/4 v3, 0x2

    new-array v3, v3, [Ljava/lang/String;

    const/4 v4, 0x0

    iget-object v5, p0, Lrexsee/core/application/RexseeIntent$3;->val$action:Ljava/lang/String;

    aput-object v5, v3, v4

    aput-object v0, v3, v6

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;[Ljava/lang/String;)V

    .line 546
    return-void

    .line 542
    .end local v0    # "uri":Ljava/lang/String;
    :cond_0
    invoke-virtual {p2}, Landroid/content/Intent;->toURI()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v0

    .restart local v0    # "uri":Ljava/lang/String;
    goto :goto_0
.end method
